package sr.codemg.service;

import sr.codemg.entity.SysRoles;
import sr.codemg.vm.Base;
import sr.codemg.vm.Selects;
import sr.codemg.vm.SysRolesEdit;
import sr.codemg.vm.Tables;

import java.util.Map;
/**
*  权限信息
**/
public interface SysRolesService {

    SysRoles get(String id);

    SysRolesEdit getEdit(String id);

    Tables findList(Map<String, Object> params);

    Base.Response add(SysRolesEdit entity);

    Base.Response update(SysRolesEdit entity);

    Base.Response delete(String id);

    Selects.Response select(Selects.Request req);
}

